wayland: Split handling of clipboard/DnD data offers
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 7 Apr 2015 14:40:57 +0000 (16:40 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 26 Jun 2015 12:29:42 +0000 (14:29 +0200)
commit1178a0ac8bcbdf50d85298e606abd3f64b06bbe4
treea59fe4c0cfc4c7ea7296a5229f52ab63215f6310
parentda395606a2afcebe9721277295ba14cd86f90fef
wayland: Split handling of clipboard/DnD data offers

We currently only hold the last offer received, which is wrong, as both
are independent and have different life cycles.

This means we have to store per-selection wl_data_offer and targets, and
maintain these as appropriate from the clipboard/DnD specific entry points.
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdnd-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkselection-wayland.c